package com.bdqn.design;

import com.bdqn.design.singleton.Singleton01;

/**
 * TestSingleton01
 *
 * @author LILIBO
 * @since 2023-10-25
 */
public class TestSingleton01 {

    public static void main(String[] args) {
        Singleton01 singletonOne = Singleton01.getInstance();
        System.out.println(singletonOne.next());
        Singleton01 singletonTwo = Singleton01.getInstance();
        System.out.println(singletonTwo.next());
    }

}
